#include "inimag.h"
#include "ui_inimag.h"
#include"imagerotator.h"
#include"directory.h"



InImag::InImag(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::InImag)
{
    ui->setupUi(this);
}

InImag::~InImag()
{
    delete ui;
}

void InImag::on_useImagButton_clicked()
{
    this->hide();
    ImageRotator *img=new ImageRotator;
    img->show();

}


void InImag::on_inimag2DirButton_clicked()
{
    this->hide();
    Directory *dir=new Directory;
    dir->show();
}

